import { get, post } from '@/axios/index.js'


//查询
export const teachingList = (data)=>get('/system/teaching/getList',data)

//新增
export const teachingAdd = (data)=>post('/system/teaching/addTeaching',data)

//修改
export const teachingUpdate = (data)=>post('/system/teaching/updateTeaching',data)

//删除
export const teachingDelete = (id)=>post('/system/teaching/delTeaching/'+id)
